window.onload =function () {
    var find = new Vue({
        el:'#find-list',
        data:{
            books:[]
        }
    });
    axios.get("/getCommonBook")
        .then(function (response){
            console.log(response);
            let data = response.data;
            find.books =data.commonBook;
        });
}
function loadToTetails (e) {
    e=e.currentTarget;
    console.log(e);
    window.location ="book.html?bid="+e.getAttribute("bid")+
        "&brief="+e.getAttribute("brief")+
        "&cover="+e.getAttribute("cover")+
        "&name="+e.getAttribute("name");
}